﻿@model RedSand.Site.Models.InstallModel
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>Cài đặt tài khoản quản trị</title>
    <!-- mws theme -->
    <link rel="stylesheet" type="text/css" href="/content/backend/mws-theme/css/style.css" media="screen"/>

    <!-- common javascript -->
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery-ui-1.8.17.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery.cookie.js"></script>
    <script src="/scripts/jquery.form.js" type="text/javascript"></script>

    <!-- mvc javascript -->
    <script src="/scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>

    <!-- theme javascript -->
    <script type="text/javascript" src="/content/backend/mws-theme/js/theme.js"></script>

    <!-- rs script common -->
    <script src="/scripts/rs.ajaxupload.js" type="text/javascript"></script>
    <script src="/scripts/rs.admin.common.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(window).load(function () {
            showMessage('@Html.Action("GetMessage", "Base")');
        });
    </script>
</head>
<body>
    <div class="panel"  style="width: 300px; margin: 0 auto; margin-top: 150px; float:none">
        <div class="panel-header">
            <span>Cài đặt tài khoản quản trị</span></div>
        <div class="panel-content" style="padding:10px;">
            @using (Html.BeginForm())
            {
                <table>
                    <tr>
                        <td>
                            Mật khẩu cài đặt
                        </td>
                        <td>
                            @Html.PasswordFor(model => model.InstallPassword)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Mật khẩu admin
                        </td>
                        <td>
                            @Html.PasswordFor(model => model.Password)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Xác nhận mật khẩu
                        </td>
                        <td>
                            @Html.PasswordFor(model => model.ConfirmPassword)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Email
                        </td>
                        <td>
                            @Html.TextBoxFor(model => model.Email)
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <input type="submit" value="Submit" />
                        </td>
                    </tr>
                </table>
                @Html.Hidden("UserName", "admin")
                @Html.Hidden("FullName", "admin")
            }
        </div>
    </div>
</body>
</html>
